//
//  ZZButtonSegView.h
//  ZuZuBao
//
//  Created by Felix on 2024/4/17.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZZButtonSegViewDelegate <NSObject>

- (void)clickToButtonSeg:(NSInteger)index;

@end

@interface ZZButtonSegView : UIView

@property (nonatomic, weak) id<ZZButtonSegViewDelegate> delegate;
-(void)setZZButtonSegWithArray:(NSArray *)array;
-(void)setSelectIndex:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
